import { getRequest, postRequest } from '../../utils/request.js'

//修改用户信息
export function addMineInfo(data, callbackOk, callbackFail) {
	postRequest('/user/addMineInfo', data, callbackOk, callbackFail)
}

//获取电话验证码
export function sendPhoneCode(params, callbackOk, callbackFail) {
	getRequest('/user/sendPhoneCode', params, callbackOk, callbackFail)
}

//获取邮箱验证码
export function sendEmailCode(params, callbackOk, callbackFail) {
	getRequest('/user/sendEmailCode', params, callbackOk, callbackFail)
}